package com.roadmap.entities;

import java.util.Date;

import com.roadmap.common.BaseConst;
import com.roadmap.common.BaseEntity;

public class Milestone extends BaseEntity {
	private String planId;
	private Date stoneDate;
	private String content;
	private int status;
	private int proportionOfPlan;

	public Milestone() {
		super();
		this.status = BaseConst.MILESTONE_STATUS_UNSATISFIED;
		this.proportionOfPlan = 0;
		this.content = "the plan is completed";
	}

	public String getPlanId() {
		return planId;
	}

	public void setPlanId(String planId) {
		this.planId = planId;
	}

	public Date getStoneDate() {
		return stoneDate;
	}

	public void setStoneDate(Date stoneDate) {
		this.stoneDate = stoneDate;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getProportionOfPlan() {
		return proportionOfPlan;
	}

	public void setProportionOfPlan(int proporationOfPlan) {
		this.proportionOfPlan = proporationOfPlan;
	}
}
